package vn.vnvas.xoso;

import android.content.Context;
import android.view.LayoutInflater;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;

public class LayoutItem extends LinearLayout{
	
	ImageView picture;
	public TextView mien;
	public TextView loc_id;

	public LayoutItem(Context context) {
		super(context);
		
		//dung layoutInflater de bien groupview thanh 1 view
		
		LayoutInflater layoutinflater = (LayoutInflater)context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
		layoutinflater.inflate(R.layout.layout_item,this,true);
		
		picture = (ImageView)findViewById(R.id.picture);
		mien = (TextView)findViewById(R.id.mien);
		loc_id = (TextView)findViewById(R.id.locId);
		
		

	}
	
	

}
